package com.ruoyi.dynamic.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.dynamic.model.pojo.entity.RoomGiftRecord;
import com.ruoyi.dynamic.model.pojo.request.app.AppRoomRankSearchRequest;
import com.ruoyi.dynamic.model.pojo.result.app.AppRoomUserInfoResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 房间赠送礼物记录表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2024-11-30
 */
public interface RoomGiftRecordMapper extends BaseMapper<RoomGiftRecord> {

    /**
     * 排行榜搜索参数
     */
    List<AppRoomUserInfoResult> listPage(@Param("param") AppRoomRankSearchRequest request,
                                         @Param("userIds") Set<Long> userIds);

}
